package top.tangyh.lamp.care.vo.save;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(description ="转科信息入参类")
public class MoveInfoInVO {

    @NotNull(message = "请输入id")
    private Long id;

    @NotBlank(message = "请输入识别号")
    @Schema(description = "识别号", requiredMode = Schema.RequiredMode.REQUIRED)
    private String patientIdent;

    @NotBlank(message = "请输入住院号")
    @Schema(description = "住院号", requiredMode = Schema.RequiredMode.REQUIRED)
    private String hospitalNumber;

    @NotNull(message = "请输入转入时间")
    @Schema(description = "转入时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long zrTime;

//    @NotNull(message = "请输入转出时间", groups = {BaseEntity.Update.class})
    @Schema(description = "转出时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long zcTime;

    @NotNull(message = "请输入转入时间")
    @Schema(description = "是否非计划性", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer notPlan;

    @Schema(description = "科室名", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "请输入科室名")
    private String deptName;

    @Schema(description = "科室ident", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "请输入科室ident")
    private String deptIdent;

    @Schema(description = "原科室名")
    private String oldDeptName;

    @Schema(description = "原科室ident")
    private String oldDeptIdent;

}